﻿using ConfExpert.Forms.Base;
using DevTeam;
using System;

namespace ConfExpert.Forms.Depo
{
    public partial class DeposuHataliTop : XForm
    {
        public DeposuHataliTop()
        {
            InitializeComponent();
        }

        private void DeposuHataliTop_Load(object sender, EventArgs e)
        {
            
            gvBrand.Init("GetDeposuHataliTop");
            gvBrand.AddDetailGrid(gvTop, "BrandId");
            gvBrand.MakeReadOnly();
            gvTop.MakeReadOnly();

            gvBrand.AddSummary("TopSayisi");
            gvTop.AddSummary("Qty");
            gvBrand.BestFitColumns();
            gvTop.BestFitColumns();
        }
    }
}